package priv.mill.entry;

import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;

public class Question extends BasePojo{



	private Integer qId;
		
	public Integer getQId() {
		return qId;
	}

	public void setQId(Integer qId) {
		this.qId = qId;
	}

	private String quesTitle;
		
	public String getQuesTitle() {
		return quesTitle;
	}

	public void setQuesTitle(String quesTitle) {
		this.quesTitle = quesTitle;
	}

	private String quesDesc;
		
	public String getQuesDesc() {
		return quesDesc;
	}

	public void setQuesDesc(String quesDesc) {
		this.quesDesc = quesDesc;
	}

	private Integer uId;
		
	public Integer getUId() {
		return uId;
	}

	public void setUId(Integer uId) {
		this.uId = uId;
	}

	private java.sql.Timestamp qCreateTime;
		
	public java.sql.Timestamp getQCreateTime() {
		return qCreateTime;
	}

	public void setQCreateTime(java.sql.Timestamp qCreateTime) {
		this.qCreateTime = qCreateTime;
	}

	private java.sql.Timestamp qUpdateTime;
		
	public java.sql.Timestamp getQUpdateTime() {
		return qUpdateTime;
	}

	public void setQUpdateTime(java.sql.Timestamp qUpdateTime) {
		this.qUpdateTime = qUpdateTime;
	}

	private Integer questionLock;
		
	public Integer getQuestionLock() {
		return questionLock;
	}

	public void setQuestionLock(Integer questionLock) {
		this.questionLock = questionLock;
	}

	
	
@JSONField(serialize=false)
private UserInfo userInfo;
	
	public UserInfo getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}	
@JSONField(serialize=false)
private List<Answer> Answer;
	
	public List<Answer> getAnswer() {
		return Answer;
	}

	public void setAnswer(List<Answer> Answer) {
		this.Answer = Answer;
	}



	//带参数构造
	public Question(Integer qId,String quesTitle,String quesDesc,Integer uId,java.sql.Timestamp qCreateTime,java.sql.Timestamp qUpdateTime,Integer questionLock) {
		this.qId=qId;this.quesTitle=quesTitle;this.quesDesc=quesDesc;this.uId=uId;this.qCreateTime=qCreateTime;this.qUpdateTime=qUpdateTime;this.questionLock=questionLock;

	}

	
	//空参数构造
	public Question() {
	}

	@Override
	public String toString() {
		return "Question [qId=" + qId + ", quesTitle=" + quesTitle + ", quesDesc=" + quesDesc + ", uId=" + uId
				+ ", qCreateTime=" + qCreateTime + ", qUpdateTime=" + qUpdateTime + ", questionLock=" + questionLock
				+ ", userInfo=" + userInfo + ", Answer=" + Answer + "]";
	}
	
	

}
